package com.mallcloud.mall.product.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@ApiModel(value = "ShopUserModel", description = "商家用户")
@Data
@TableName(value = "P_SHOP_USER", autoResultMap = true)
public class ShopUserModel extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "商家用户id")
    private Long shopUserId;

    @ApiModelProperty(value = "关联店铺id")
    private Long shopId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "员工编号")
    private String code;

    @ApiModelProperty(value = "联系方式")
    private String phoneNum;

    @ApiModelProperty(value = "是否已经设置账号 0:未设置 1:已设置")
    private Boolean hasAccount;
}
